package com.lqd.mall.jpa.controller;

import com.lqd.mall.basis.response.CommonResult;


/**
 * @author 零起点
 * @create 2022-03-22 16:36
 */
public class BaseController  {
    public CommonResult result(Integer result) {
        return result > 0 ? CommonResult.SUCCESS() : CommonResult.FAIL();
    }
}
